<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>

    <link rel="shortcut icon" href="/favicon.ico">
    <link href="/web/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="/web/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="/web/css/animate.min.css" rel="stylesheet">
    <link href="/web/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="/web/css/plugins/toastr/toastr.min.css" rel="stylesheet">
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-md-12">
            <div class="ibox">
                <div class="ibox-content">
                    <form class="form-horizontal" role="form" id="companyForm">
                        <div class="hr-line-dashed"></div>
                        <input type="hidden" id="companyId" name="companyId" class="form-control"
                               th:value="${company.companyId}">
                        <input type="hidden" id="headimgurl" name="headimgurl" class="form-control"
                               th:value="${company.headimgurl}">
                        <input type="hidden" id="userId" name="userId" class="form-control"
                               th:value="${company.userId}">
                        <input type="hidden" id="companyType1" name="companyType1"
                               class="form-control"
                               th:value="${company.companyType}">
                        <div class="form-group">
                            <div class="col-sm-1"></div>
                            <label class="col-sm-2 control-label">门店名称：</label>
                            <div class="col-sm-5">
                                <input type="text" th:value="${company.companyName}" name="companyName" class="form-control" required=""
                                       aria-required="true" minlength="1">
                            </div>
                            <div class="col-sm-4"></div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-3"></div>
                            <div class="col-sm-2">
                                <input type="hidden" id="thisProvince" class="form-control" th:value="${company.province}">
                                <select class="form-control province"  name="province" id="province">
                                    <option value="0">省份</option>
                                </select>
                            </div>
                            <div class="col-sm-2">
                                <input type="hidden" id="thisCity" class="form-control" th:value="${company.city}">
                                <select class="form-control city"  name="city" id="city">
                                    <option value="0">市</option>
                                </select>
                            </div>
                            <div class="col-sm-2">
                                <input type="hidden" id="thisDistrict" class="form-control" th:value="${company.district}">
                                <select class="form-control district" name="district" id="district">
                                    <option value="0">区</option>
                                </select>
                            </div>
                            <div class="col-sm-6">
                                <input type="hidden" th:value="${company.districtId}" name="districtId" id="districtId" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-1"></div>
                            <label class="col-sm-2 control-label">联系人：</label>
                            <div class="col-sm-5">
                                <input type="text" th:value="${company.linkman}" name="linkman" class="form-control">
                            </div>
                            <div class="col-sm-4"></div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-1"></div>
                            <label class="col-sm-2 control-label">联系方式：</label>
                            <div class="col-sm-5">
                                <input type="number" th:value="${company.mobile}" name="mobile" class="form-control" required=""
                                       aria-required="true" minlength="1" maxlength="100000">
                            </div>
                            <div class="col-sm-4"></div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-1"></div>
                            <label class="col-sm-2 control-label"> 商家二维码LOGO：</label>
                            <div class="col-sm-5">
                                <input type="text" th:value="${company.qrLogoUrl}" readonly="readonly" id="qrLogoUrl" name="qrLogoUrl"
                                       class="form-control"
                                       minlength="1">
                            </div>
                            <div class="col-sm-4"></div>
                        </div>
                        <!-- company logo -->
                        <div class="form-group">
                            <div class="col-sm-1"></div>
                            <label class="col-sm-2 control-label" style="color: #1d9d74"> 上传图片>>></label>
                            <div class="col-sm-5">
                                <div class="id_img bod">
                                    <input type="hidden" name="imgIdBack"/>
                                    <div class="weui-uploader__input-box">
                                        <input class="weui-uploader__input" type="file" id="file_temporaryImage"
                                               accept="image/png, image/jpeg, image/jpg, image/gif">
                                    </div>
                                </div>
                                <div class="update_img"></div>
                            </div>
                            <div class="col-sm-4"></div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-1"></div>
                            <label class="col-sm-2 control-label"> 扫码取号二维码：</label>
                            <div class="col-sm-5">
                                <div id="qrcode"></div>
                            </div>
                            <div class="col-sm-4"></div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-1"></div>
                            <label class="col-sm-2 control-label"> 详细地址：</label>
                            <div class="col-sm-5">
                                <input type="text" th:value="${company.address}" name="address" class="form-control" required="" minlength="1">
                            </div>
                            <div class="col-sm-4"></div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-1"></div>
                            <label class="col-sm-2 control-label"> 备注信息：</label>
                            <div class="col-sm-5">
                                <input type="text" th:value="${company.remark}" name="remark" class="form-control" minlength="1">
                            </div>
                            <div class="col-sm-4"></div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-4"></div>
                            <button id="submitUpdate" class="btn btn-primary col-sm-1">提交</button>
                            <div class="col-sm-1"></div>
                            <div class="col-sm-1"></div>
                            <button id="buttonGoback" class="btn btn-primary col-sm-1">返回</button>
                            <div class="col-sm-4"></div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</div>
<script src="/web/js/jquery.min.js?v=2.1.4"></script>
<script src="/web/js/LocalResizeIMG.js"></script>
<script src="/web/js/mobileBUGFix.mini.js"></script>
<script src="/web/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/web/js/content.min.js?v=1.0.0"></script>
<script src="/web/js/self/commons.js"></script>
<script src="/web/js/jquery.form.js?v=3.51"></script>
<script src="/web/js/plugins/validate/jquery.validate.min.js"></script>
<script src="/web/js/plugins/validate/messages_zh.min.js"></script>
<script src="/web/js/plugins/toastr/toastr.min.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="https://res.wx.qq.com/open/libs/weuijs/1.0.0/weui.min.js"></script>
<script src="/web/js/lrz.all.bundle.js"></script>
<script src="/web/js/qrcode.js"></script>
<script src="/web/js/self/dc_company_update.js?v=1.0"></script>

</body>
</html>
